/**
 * Created by TEANA on 2018/1/3.
 */
module.exports = ngModule => {
  ngModule.constant('Config', {
    toast: 100,
    warning: 3000,
    timeout: 5000,
    amount: 10,
    pageNum: 1,
    pageSize: 10,
    status: {
      init: 0,
      success: 1,
      loading: 2,
      noData: 3,
      offLine: 4,
      timeout: 5
    },
    api: {
      banner: '/api/newinfo/bannerList',
      news: '/api/newinfo/newYaowenList',
      content: '/api/newinfo/yaowenContent',
      stocks: '/api/newinfo/myStocksList',
      funds: '/api/newinfo/fundList'
    },
    contentKey: 310008,
    pressEventKey: 1000
  });
};
